/*
 * ************************************************************************
 * 本文件归属于西安协同时光软件有限公司，未经许可，不得擅自使用、拷贝和修改 项目组:金堆城钼业股份有限公司科研项目管理信息系统项目组 版 本: 1.0 日
 * 期：03/18/2010 作 者： Administrator
 * ************************************************************************
 */

package com.application.systemmanager.struts.form;

import java.util.ArrayList;
import java.util.List;

import javax.servlet.http.HttpServletRequest;

import org.apache.commons.lang.builder.ReflectionToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;

import com.application.systemmanager.entity.SystemConfig;

/**
 * Copyrights 1997-2008 西安协同时光软件有限公司<br />
 * Description: SystemConfigForm Struts Action Form<br />
 * Version:V0.1<br />
 * Author: Code Generator <br />
 * History: <br />
 * 03/18/2010 SyncBase Code Generator initial version.
 */
public class SystemConfigForm extends ActionForm {

	/** serialVersionUID */
	protected static final long serialVersionUID = -1L;

	public SystemConfigForm() {

	}

	private Long id;

	private String cofigCode;

	private String configType;

	private String configName;

	private String configValue;

	private String dataType;

	private String validate;

	private String bak1;

	private String bak2;

	private String ids;

	private Long count;

	public Long getCount() {
		return count;
	}

	public void setCount(Long count) {
		this.count = count;
	}

	/**
	 * @return Returns the Id
	 */
	public Long getId() {
		return this.id;
	}

	/**
	 * @param id
	 *        Set the id.
	 */
	public void setId(Long id) {
		this.id = id;
	}

	/**
	 * @return Returns the CofigCode
	 */
	public String getCofigCode() {
		return this.cofigCode;
	}

	/**
	 * @param cofigCode
	 *        Set the cofigCode.
	 */
	public void setCofigCode(String cofigCode) {
		this.cofigCode = cofigCode;
	}

	/**
	 * @return Returns the ConfigType
	 */
	public String getConfigType() {
		return this.configType;
	}

	/**
	 * @param configType
	 *        Set the configType.
	 */
	public void setConfigType(String configType) {
		this.configType = configType;
	}

	/**
	 * @return Returns the ConfigName
	 */
	public String getConfigName() {
		return this.configName;
	}

	/**
	 * @param configName
	 *        Set the configName.
	 */
	public void setConfigName(String configName) {
		this.configName = configName;
	}

	/**
	 * @return Returns the ConfigValue
	 */
	public String getConfigValue() {
		return this.configValue;
	}

	/**
	 * @param configValue
	 *        Set the configValue.
	 */
	public void setConfigValue(String configValue) {
		this.configValue = configValue;
	}

	/**
	 * @return Returns the DataType
	 */
	public String getDataType() {
		return this.dataType;
	}

	/**
	 * @param dataType
	 *        Set the dataType.
	 */
	public void setDataType(String dataType) {
		this.dataType = dataType;
	}

	/**
	 * @return Returns the Validate
	 */
	public String getValidate() {
		return this.validate;
	}

	/**
	 * @param validate
	 *        Set the validate.
	 */
	public void setValidate(String validate) {
		this.validate = validate;
	}

	/**
	 * @return Returns the Bak1
	 */
	public String getBak1() {
		return this.bak1;
	}

	/**
	 * @param bak1
	 *        Set the bak1.
	 */
	public void setBak1(String bak1) {
		this.bak1 = bak1;
	}

	/**
	 * @return Returns the Bak2
	 */
	public String getBak2() {
		return this.bak2;
	}

	/**
	 * @param bak2
	 *        Set the bak2.
	 */
	public void setBak2(String bak2) {
		this.bak2 = bak2;
	}

	private List<SystemConfig> systemConfigList;

	/**
	 * @return the systemconfigformList
	 */
	public List<SystemConfig> getSystemConfigList() {
		return systemConfigList;
	}

	/**
	 * @param systemConfigList
	 *        the systemconfigformList to set
	 */
	public void setSystemConfigList(List<SystemConfig> systemConfigList) {
		this.systemConfigList = systemConfigList;
	}

	public String getIds() {
		return ids;
	}

	public void setIds(String ids) {
		this.ids = ids;
	}

	/**
	 * Method validate
	 * 
	 * @param mapping
	 * @param request
	 * @return ActionErrors
	 */
	public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) {
		// TODO Auto-generated method stub
		return null;
	}

	/**
	 * Method reset
	 * 
	 * @param mapping
	 * @param request
	 */
	public void reset(ActionMapping mapping, HttpServletRequest request) {

	}

	public String toString() {
		return ReflectionToStringBuilder.toString(this, ToStringStyle.MULTI_LINE_STYLE);
	}
}
